/*
 * @Author: lg9527 13691080728@126.com
 * @Date: 2024-02-19 15:41:45
 * @LastEditors: lg9527 13691080728@126.com
 * @LastEditTime: 2024-02-26 17:41:35
 * @FilePath: \cmjyxpcfront\src\router\routes\modules\demo\balconyManager2.ts
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import type { AppRouteModule } from '/@/router/types';

// import { getParentLayout, LAYOUT } from '/@/router/constant';
import { LAYOUT } from '/@/router/constant';
import { t } from '/@/hooks/web/useI18n';

const fzz: AppRouteModule = {
  path: '/balconyManager2',
  name: 'BalconyManager2',
  component: LAYOUT,
  redirect: '/BalconyManager2/systemzcjb',
  meta: {
    orderNo: 401,
    icon: 'ion:layers-outline',
    title: t('routes.demo.balconyManager2.root'),
    roles: ['City', 'Area', 'UnitAdmin', 'CityUnitAdmin', 'Street'],
    userGroups: ['Admin', 'FireControl'],
  },

  
  children: [
   
    {
      path: 'systemzcjb',
      name: 'systemzcjb',
      meta: {
        title: t('routes.demo.balconyManager2.systemzcjb'),
        hideChildrenInMenu: true,
        roles: ['Admin', 'City', 'Area', 'Street', 'Community', 'Investigator'],
        //roles: ['Admin', 'City', 'Area', 'Street', 'Community'],
        // userGroups: ['Admin', 'FireControl'],
        //roles: ['City'],
        userGroups: ['Admin', 'FireControl'],
      },
      component: () => import('/@/views/balconyManager2/index.vue'),
 
    },
   
    {
      path: 'systemcjjb',
      name: 'systemcjjb',
      meta: {
        title: t('routes.demo.balconyManager2.systemcjjb'),
        hideChildrenInMenu: true,
        roles: ['Admin', 'City', 'Area', 'Street', 'Community', 'Investigator'],
        //roles: ['Admin', 'City', 'Area', 'Street', 'Community'],
        // userGroups: ['Admin', 'FireControl'],
        //roles: ['City'],
        userGroups: ['Admin', 'FireControl'],
      },
      // component: () => import('/@/views/balconyManager/balconyCount/scheduleIndex.vue'),
      component: () => import('/@/views/balconyManager2jcjb/index.vue'),
    }
  ],
};

export default fzz;
